#include "Wire.h"

Wire::Wire(std::vector<Line> CentralLines, Polygon FirstPad, Polygon SecondPad, double LineWidth) {
	this->CentralSegments = CentralLines;
	this->StartPinPad = FirstPad;
	this->EndPinPad = SecondPad;
	this->WireWidth = LineWidth;

}

void Wire::SetWireMode(const bool& isDpairLine) {
	this->isDPairWires = isDpairLine;
}

void Wire::SetWireWidth(const double& LineWidth) {
	this->WireWidth = LineWidth;
}

void Wire::SetDPairID(const int& NumID) {
	this->DpairNumID = NumID;
}

void Wire::SetCentralSegments(const std::vector<Line>& centerSegs) {
	this->CentralSegments = centerSegs;
}

void Wire::SetStartPinPad(const Polygon& PinPad) {
	this->StartPinPad = PinPad;
}

void Wire::SetEndPinPad(const Polygon& PinPad) {
	this->EndPinPad = PinPad;
}